package can;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class AnnotateBean {
	private String results = "";
	
	//input fields
	private String document;
	
	//action method - does the operation
	public void doAnnotation() {
		//parse all fields and construct the operation command
		
		//call RequestHandler with proper parameters
		results = RequestHandler.annotate(document);
	}
	
	//accessors and mutators
	public String getResults() {
		return results;
	}

	public void setDocument(String document) {
		this.document = document;
	}
}
